//
// Created by "huxiao" on 2025/5/24 18:01
//

#ifndef BASEFRAME_H
#define BASEFRAME_H

#include <QMainWindow>
#include <QMouseEvent>
#include <QPoint>

QT_BEGIN_NAMESPACE

namespace Ui {
    class BaseFrame;
}

QT_END_NAMESPACE

class BaseFrame : public QMainWindow {
    Q_OBJECT

public:
    explicit BaseFrame(QWidget *parent = nullptr);

    ~BaseFrame() override;

protected:
    // void mouseMoveEvent(QMouseEvent *) override;
    //
    // void mousePressEvent(QMouseEvent *) override;
    //
    // void mouseReleaseEvent(QMouseEvent *) override;

private:
    bool m_isPressed;
    QPoint m_posArea;
};


#endif //BASEFRAME_H
